import { createApp } from "vue";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import router from "./router/index.js";
import App from "./App.vue";
import VueAnimXyz from '@animxyz/vue3';
import '@animxyz/core' 
const app = createApp(App);
app.use(router);
app.use(ElementPlus);
// 全局注册el-icon
for (const [name, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(name, component);
}
app.mount("#app");
app.use(VueAnimXyz)